package com.dongwu.manager.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 广告分类实体类
 * 
 * @author xyj
 *
 */
public class AdsClassifyData {

	@ApiModelProperty(value = "ID")
	private String id; // ID

	@ApiModelProperty(value = "广告名称")
	private String name; // 广告名称

	@ApiModelProperty(value = "商家名称")
	private String type; // 商家名称

	@ApiModelProperty(value = "分类图片")
	private String image;// 分类图片

	@ApiModelProperty(value = "商家地址")
	private Integer categoryId; // 商家地址

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	@ApiModelProperty(value = "分类下商品")
	private List<ProductData> productDataList;

	public List<ProductData> getProductDataList() {
		return productDataList;
	}

	public void setProductDataList(List<ProductData> productDataList) {
		this.productDataList = productDataList;
	}

	@Override
	public String toString() {
		return "AdsClassifyData [id=" + id + ", name=" + name + ", type=" + type + ", image=" + image + ", categoryId="
				+ categoryId + ", productDataList=" + productDataList + "]";
	}

}